<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
                "http://www.w3.org/TR/REC-html40/loose.dtd">
<html>
<head>
  <title>Description of rad2deg</title>
  <meta name="keywords" content="rad2deg">
  <meta name="description" content="RAD2DEG Convert angles from radians to degrees">
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <meta name="generator" content="m2html &copy; 2005 Guillaume Flandin">
  <meta name="robots" content="index, follow">
  <link type="text/css" rel="stylesheet" href="../../m2html.css">
  <script type="text/javascript">
    if (top.frames.length == 0) { top.location = "../../index.html"; };
  </script>
</head>
<body>
<a name="_top"></a>
<!-- ../menu.html trunk --><!-- menu.html utils -->
<h1>rad2deg
</h1>

<h2><a name="_name"></a>PURPOSE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2>
<div class="box"><strong>RAD2DEG Convert angles from radians to degrees</strong></div>

<h2><a name="_synopsis"></a>SYNOPSIS <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2>
<div class="box"><strong>function angleInDegrees = rad2deg(angleInRadians) </strong></div>

<h2><a name="_description"></a>DESCRIPTION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2>
<div class="fragment"><pre class="comment"> RAD2DEG Convert angles from radians to degrees

   RAD2DEG has been replaced by RADTODEG.

   angleInDegrees = RAD2DEG(angleInRadians) converts angle units from
   radians to degrees.</pre></div>

<!-- crossreference -->
<h2><a name="_cross"></a>CROSS-REFERENCE INFORMATION <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2>
This function calls:
<ul style="list-style-image:url(../../matlabicon.gif)">
</ul>
This function is called by:
<ul style="list-style-image:url(../../matlabicon.gif)">
</ul>
<!-- crossreference -->



<h2><a name="_source"></a>SOURCE CODE <a href="#_top"><img alt="^" border="0" src="../../up.png"></a></h2>
<div class="fragment"><pre>0001 <a name="_sub0" href="#_subfunctions" class="code">function angleInDegrees = rad2deg(angleInRadians)</a>
0002 <span class="comment">% RAD2DEG Convert angles from radians to degrees</span>
0003 <span class="comment">%</span>
0004 <span class="comment">%   RAD2DEG has been replaced by RADTODEG.</span>
0005 <span class="comment">%</span>
0006 <span class="comment">%   angleInDegrees = RAD2DEG(angleInRadians) converts angle units from</span>
0007 <span class="comment">%   radians to degrees.</span>
0008 
0009 <span class="comment">% Copyright 2007-2008 The MathWorks, Inc.</span>
0010 <span class="comment">% $Revision: 1.9.4.5 $  $Date: 2009/04/15 23:16:46 $</span>
0011 
0012 angleInDegrees = (180/pi) * angleInRadians;</pre></div>
<hr><address>Generated on Wed 04-Jun-2014 14:21:02 by <strong><a href="http://www.artefact.tk/software/matlab/m2html/" target="_parent">m2html</a></strong> &copy; 2005</address>
</body>
</html>